<include file="Public:head_nav" />
<div class="content">
    <div class="position"><p>您的当前位置：<a href="{:d_name('m')}">首页</a>  >  <a href="{:U('Ask/index')}">问答</a>
        > <a href="{:U('Ask/add')}">在线问答</a>
    </p></div>
    <div class="div_box">
        <div class="ask_show01_n2 regbox">
            <p>问题标题<span class="org">*</span></p>
            <p><input class="input_reg" id="askTitle" type="text"></p>
            <p>问题详细<span class="org">*</span></p>
            <p>
                <textarea id="askInfo" class="r_inp01"></textarea>
            </p>
            <p>所属分类<span class="org">*</span></p>
            <p class="overflow_h">
              <span class="address_sel" style="width: 100%">
                  <select class="select01"  id="askCateId">
                      <option value="0">--请选择分类--</option>
                      <volist name='ask_cate' id='val'>
                          <option value="{$val.id}">{$val.html}{$val.name}</option>
                      </volist>
                  </select>
              </span>
            </p>
            <p><a id="askBut" href="javascript:;" class="but03">提交问题</a></p>
        </div>
    </div>

    <include file="Public:footer_nav" />
</div>
<script type="text/javascript" src="__H__/js/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    $("#askBut").click(function(){
        var url = "{:U('Ajax/addAsk')}";
        ask_add(url);
    });
</script>
<include file="Public:footer" />
